path=$1
filename=$2
directory=$3
pname=$4
echo $path
echo $filename
echo $directory
echo $pname
busybox mv $path'/'$filename $path'/'$directory'/'
pm install $path'/'$directory'/'$filename
sleep 6
i=1
while(( i <= 5))
	do
		echo $i
		monkey -p $pname -v 100
		sleep 10
		screencap -p $path'/'$directory'/'$i".png"
		let "i++"
	done
pm uninstall $pname 
